package com.hzhq.contract.bean.vo;

import com.hzhq.contract.bean.entity.UserRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.DBRef;

import java.util.Date;
import java.util.List;

/**
 * @author hzhq
 * @create 2021/4/9 5:33 下午
 * @email hzhq1255@163.com
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户信息VO")
public class UserVO {

    @ApiModelProperty("userid")
    private String userId;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("注册时间")
    private Date registerTime;
    @ApiModelProperty(value = "删除标志 0 未删除 1 删除")
    private Integer deleted;


}
